/* Copyright (c) 2014 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

.cr-dialog-frame.share-dialog-frame {
  -webkit-app-region: no-drag;
  background-color: white;
  box-sizing: border-box;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  width: auto;
}

.share-dialog-webview-wrapper {
  height: 100px;
  margin-top: 10px;
  min-width: 300px;
  transition: height 200ms ease-out;
}

.share-dialog-webview-wrapper:not(.loaded) {
  background: url(chrome://resources/images/throbber_small.svg) center/16px
      no-repeat;
}

.share-dialog-webview {
  height: 100%;
  width: 100%;
}

.share-dialog-webview-wrapper:not(.loaded) .share-dialog-webview {
  visibility: hidden;
}

.share-dialog-frame .cr-dialog-text,
.share-dialog-frame .cr-dialog-buttons {
  display: none;
}
